package com.yunwushanhe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunwushanhe.bean.ret.ResponseResult;
import com.yunwushanhe.bean.vo.CommentVO;
import com.yunwushanhe.bean.vo.PageVO;
import com.yunwushanhe.entity.Comment;

import java.util.List;

/**
 * 评论表(Comment)表服务接口
 *
 * @author 抬头看看天
 * @since 2023-08-12 17:10:51
 */
public interface CommentService extends IService<Comment> {

    ResponseResult<PageVO<List<CommentVO>>> commentList(String commentType, Long articleId, Integer pageNum, Integer pageSize);

    ResponseResult<Object> addComment(Comment comment);
}

